import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';

class AppInfoProvider {
  final Widget _applicationIcon = const FaIcon(
    FontAwesomeIcons.gamepad,
    size: 40,
  );
  Widget get applicationIcon => _applicationIcon;

  final String _applicationName = '扑动拼图';
  String get applicationName => _applicationName;

  final String _applicationVersion = 'v1.0.0';
  String get applicationVersion => _applicationVersion;

  final List<Widget> _children = [
    const Text(
      '\n"扑动拼图"是一款简单的数字拼图益智游戏，玩家目标是将方块排列成有序的顺序。',
      style: TextStyle(fontSize: 16),
      textAlign: TextAlign.justify,
    ),
  ];
  List<Widget> get children => _children;
}
